package net.xdclass.request;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Description:
 * @Author:xuezhen
 * @CreateDate:2021/4/12 22:35
 * @UpdateUser:
 * @UpdateDate:
 * @UpdateRemark:
 * @Version:v2.0
 */
@ApiModel(value = "用户注册对象",description = "用户注册请求对象")
@Data
public class UserRegisterRequest {

    @ApiModelProperty(value = "昵称",example = "不差钱")
    private String name;

    @ApiModelProperty(value = "密码",example = "1234")
    private String pwd;

    @ApiModelProperty(value = "头像",example = "https://xdclass-1024shop.oss-cn-beijing.aliyuncs.com/user/2021/05/07/59437742dff64252951ffc6.png")
    @JsonProperty("head_img")
    private String headImg;

    @ApiModelProperty(value = "签名",example = "人生需要动态规划,学习需要贪心算法")
    private String slogan;

    @ApiModelProperty(value = "性别: 0表示女,1表示男",example = "1")
    private Integer sex;

    @ApiModelProperty(value = "邮箱",example = "807842880@qq.com")
    private String mail;

    @ApiModelProperty(value = "验证码",example = "123456")
    private String code;

    @ApiModelProperty(value = "手机号",example = "13555555555")
    private String phone;
}
